Skip to content

test(admin, recurring): add AdminModule and RecurringModule test coverage - #559

Merged
BigBen-7 merged 2 commits into
Lead-Studios:mainfrom
khaadish:feature/recurring-admin-tests
Aug 29, 2026
Merged

test(admin, recurring): add AdminModule and RecurringModule test coverage#559
BigBen-7 merged 2 commits into
Lead-Studios:mainfrom
khaadish:feature/recurring-admin-tests

Conversation

@khaadish

Copy link
Copy Markdown
Contributor

Adds unit test coverage for the recurring and admin modules.

Tests added

Source changes

  • \�mendRecurring()\ now throws \READ_ONLY_CLIENT\ when no keypair is available (previously a plain Error).
  • Added the required \paused\ field to \RecurringRecord\ and \parseRecurringRecord().

All 42 tests pass.

Closes #468
Closes #469
Closes #470
Closes #471

khaadish and others added 2 commits August 28, 2026 20:38
Add comprehensive unit tests for AdminModule and RecurringModule:
- admin.test.ts: proposeAdmin, acceptAdmin, getPendingAdmin,
  pause, unpause, setProtocolFee, dividendDistribute
- recurring.test.ts: executeAllDue categorisation at scale,
  amendRecurring requiring at least one mutable field

Also make amendRecurring throw READ_ONLY_CLIENT when no keypair is
available, and include required paused field in RecurringRecord parsing.

Closes Lead-Studios#468
Closes Lead-Studios#469
Closes Lead-Studios#470
Closes Lead-Studios#471
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@khaadish Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@BigBen-7
BigBen-7 merged commit 00fc54c into Lead-Studios:main Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment